package models

import "gorm.io/gorm"

type Order struct {
	gorm.Model
	Orders string  `gorm:"type:varchar(50);not null;comment:'入库单号'"`
	Types  string  `gorm:"type:varchar(30);not null;comment:'单据类型'"`
	Cang   string  `gorm:"type:varchar(30);not null;comment:'仓库'"`
	Time   string  `gorm:"type:datetime;not null;comment:'入库时间'"`
	Num    int     `gorm:"type:int;not null;comment:'入库数量'"`
	Price  float64 `gorm:"type:decimal(10,2);not null;comment:'入库金额'"`
	Name   string  `gorm:"type:varchar(30);not null;comment:'制单人'"`
}
